@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?tomleg');
    src:  url('../fonts/icomoon.eot?tomleg#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?tomleg') format('truetype'),
      url('../fonts/icomoon.woff?tomleg') format('woff'),
      url('../fonts/icomoon.svg?tomleg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
  }
/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.style_red {
    color: #c81623;
}
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #eef1ee;
}
.shortcut ul li {
    float: left;
}
 /* 给li标签添加一个高度16 配合竖线16px 然后margin-top 垂直居中 注意li里面的a 行高ling-height要改为16px  最后用结构伪类选择器 区别开第一个没有左边框的小li 为后面的小li添加左边框 */
.shortcut .fr ul li {
    line-height: 16px;
    height: 16px;
    margin-top: 7.5px;
    /* 照顾字体图标看的顺眼 0 15px给成下面这样 */
    padding: 0 15px;
}
/* 跳过第一个从第二个li开始 n+2 加入左边框 */
.shortcut .fr ul li:nth-child(n+2) {
    border-left: solid 1px #666;
}
/* 字体图标的引用和样式的引用 */
.shortcut .fr ul li .acrron-icon::after {
    font-family: 'icomoon';
    content: '\e91e';
    padding-left: 8px;
}

/* .header 头部制作 */
.header {
    position: relative;
    height: 105px;
}
.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}
.logo a {
    /* logo盒子里面包含一个h1 再包含一个a链接 里面文字网站名字为a设置背景图片 隐藏文字 font-size设置为0即可 */
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    font-size: 0;
}
.search {
    /* 绝对定位 left50% margin-left-268px 垂直居中 */
    position: absolute;
    top: 25px;
    left: 50%;
    margin-left: -269px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}
.search input {
    float: left;
    width: 454px;
    height: 100%;
    /* 给字体加点间距 */
    padding-left: 10px;
}
.search button {
    /* input 是行内块元素 要都加浮动或者给按钮button加绝对定位 */
    /* position: absolute;
    top: 0;
    right: 0; */
    float: left;
    width: 80px;
    height: 100%;
    font-size: 16px;
    color: #f6eaea;
    background-color: #b1191a;
}
.hotwords {
    position: absolute;
    top: 61px;
    left: 50%;
    margin-left: -257px;
    width: 500px;
    font-size: 12px;
}
.hotwords a {
    padding: 0 21px 0 0;
}
/* 购物车模块 */
.shopcar {
    position: absolute;
    top: 25px;
    right: 60px;
    width: 140px;
    height: 36px;
    font-size: 12px;
    line-height: 36px;
    color: #afafaf;
    background-color: #f7f7f7;
    border: 1px solid #dfdfdf;
    text-align: center;
}
.shopcar a {
    margin: 0 8px 5px 0;
}
.shopcar::before {
    font-family: 'icomoon';
    content: '\e93a';
    color: #b1191a;
}
.shopcar::after {
    font-family: 'icomoon';
    content: '\e920';
}
.count {
    position: absolute;
    top: -4px;
    left: 105px;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
    color: #fefefe;
    /* color: red; */
    padding: 0 5px;
    background-color: #e60012;
    border-radius: 7px 7px 7px 0;
}
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}
.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}

.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    line-height: 45px;
    font-size: 16px;
}
.dropdown .dd {
    /* display: none; */
    width: 210px;
    height: 465px;
    background-color: #c81623;
    margin-top: 2px;
}
.dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 30px;
    margin-left: 2px;
    padding-left: 10px;
}

.dropdown .dd ul li:hover {
    background-color: #f7f7f7;
}

.dropdown .dd ul li::after {
    position: absolute;
    top: 0;
    right: 8px;
    color: #f4ebeb;
    /* text-align: center; */
    font-family: 'icomoon';
    content: '\e920';
}
.dropdown .dd ul li a {
    height: 30px;
    color: #fff;
    font-size: 14px;
    text-align: left;
    /* padding: 8px 0 8px 10px; */
}
.dropdown .dd ul li:hover a {
    color: #c81623;
}
.navitems ul li{
    float: left;
}
.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}
/* 底部模块 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
}
.gray {
    border-bottom: 1px solid #ededed;
}
.footer .t {
    height: 109px;
    /* background-color: pink; */
    padding-top: 30px;
}
.footer .t .mod_service {
    float: left;
    height: 50px;
    width: 170px;
    /* background-color: yellow; */
    margin: 0 35px;
    /* background: url(../images/icons.png) no-repeat -236px 0; */

}
/* 给背景图片单独腾的一个小盒子 */
.footer .t .mod_service h5 {
    float: left;
    width: 49px;
    height: 49px;
}
.new1 {
    background: url(../images/new.png) no-repeat 0 0 ;
}
.new2 {
    background: url(../images/new.png) no-repeat -49px 0 ;
}
.new3 {
    background: url(../images/new.png) no-repeat -98px 0 ;
}
.new4 {
    background: url(../images/new.png) no-repeat -147px 0 ;
}
.new5 {
    background: url(../images/new.png) no-repeat -196px 0 ;
}
/* service_txt 服务模块字体 */
.footer .t .mod_service .service_txt {
    float: left;
    width: 120px;
    height: 50px;
    padding: 8px 0 6px 7px;
}
.footer .t .mod_service h4 {
    font-size: 14px;
}
.footer .t .mod_service p {
    font-size: 12px;
}
.footer .mod_help {
    height: 189px;
    /* background-color: blue; */
    padding: 20px 70px 0 50px;
}
.footer .mod_help dl {
    float: left;
    width: 90px;
    margin-right: 105px;
}
.footer .mod_help dl dt{
    font-size: 16px;
    margin-bottom: 3px;
    color: #333;
}
.footer .mod_help dl dd{
    font-size: 12px;
    line-height: 20px;
    color: #666;
}
.footer .mod_help dl:last-child {
    width: 90px;
    text-align: center;
    margin-right: 0;
}

/* 二维码 */
/* .footer .z .ma {
    float: left;
    width: 95px;
    height: 150px;
    /* background-color: pink; */
    /* text-align: center; */
/* }  */
.footer .x {
    height: 119px;
    /* background-color: purple; */
    padding-top: 20px;
}
.footer .x ul {
    margin-left:88px;
}
.footer .x ul li {
    float: left;
    font-size: 12px;
    padding: 0 17px 0 14px;
    border-right: 1px solid #999;
}
.footer .x ul .no-border {
    border-right: 0;
}
.footer .x p {
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    color: #666;
}